package Basic;

import java.util.ArrayList;

public class Array {
    public static void main(String[] args) {
        ArrayList <String> list = new ArrayList<>();
        //增加
        list.add("肖晶晶");
        System.out.println(list);
//        //删除
//        list.remove("肖晶晶");
//        System.out.println(list);
        //修改
        list.set(0,"我爱你");
        System.out.println(list);
        int length = list.size();
        System.out.println(length);
    }
}
